﻿using System.Threading.Tasks;
using VisionCloud.Core.Model.Fms;
using VisionCloud.Domain.Common;
using VisionCloud.Domain.DtoModel.Fms;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Fms
{
    public interface IFmsProjectBuildingFloorRepository : IBaseRepository<FmsProjectBuildingFloor>
    {
        /// <summary>
        /// 分页查询FMS项目列表（附带楼栋楼层）
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ApiPageResult> GetList(ProjectBuildlingFloorSearchDto dto);

        /// <summary>
        /// 获取楼栋楼层名称
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ProjectBuildingFloorNameDto> GetBuildingFloorName(BimMapCodeDto dto);
    }
}
